# 删除列表del语句
names = ['明', '红', '华', '李', '张', '陈']
del names[0]
print(names)
del names[1:3]
print(names)

# remove方法

chars = ['h', 'e', 'l', 'l', 'e']
chars.remove('e')
print(chars)

# pop方法
numbers = [1, 2, 3, 4, 5]
numbers.pop()
print(numbers)
numbers.pop(1)
print(numbers)